package cn.lzm.server;

import cn.lzm.AjaxResult;
import cn.lzm.domain.Product;

import java.util.List;

public interface IProductService {
    Product selectOne (String name);
    List<Product> selectAll ();
    AjaxResult addOne(Product product);
    void  updateOne(Product product);
}
